package com.flida.echart.basic.account.service.impl;

import com.flida.echart.basic.account.dao.ResumeDao;
import com.flida.echart.basic.account.service.IResumeService;
import com.flida.echart.basic.api.account.entity.Resume;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("resumeService")
public class ResumeServiceImpl implements IResumeService {
    @Autowired
    private ResumeDao resumeDao;


    public int deleteByPrimaryKey(Integer id) {

        return resumeDao.deleteByPrimaryKey(id);
    }


    public int insert(Resume record) {

        return resumeDao.insert(record);
    }


    public int insertSelective(Resume record) {

        return resumeDao.insertSelective(record);
    }


    public Resume selectByPrimaryKey(Integer id) {

        return resumeDao.selectByPrimaryKey(id);
    }


    public int updateByPrimaryKeySelective(Resume record) {

        return resumeDao.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKey(Resume record) {

        return resumeDao.updateByPrimaryKey(record);
    }

}
